﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Utilities
{
    public class ImageUtils
    {
        public static string GetImageThumb(string strAvatar, Int32 w, Int32 h, string noavatar)
        {
            if (String.IsNullOrEmpty(strAvatar))
                return Constant.Host + noavatar;
            return Constant.Host + strAvatar + ".thumb" + w + "x" + h + ".jpg";
        }
    }
}
